<?php

// [ 应用入口文件 ]


// 定义应用目录
define('APP_PATH', dirname(__DIR__).DIRECTORY_SEPARATOR);

// 注入外部项
require dirname(APP_PATH).DIRECTORY_SEPARATOR.'bootstrap.php';

// RUNTIME_PATH 分 app 存储 
defined('RUNTIME_PATH') OR define('RUNTIME_PATH', L_WORKSPACE_PATH.DIRECTORY_SEPARATOR."runtime".DIRECTORY_SEPARATOR.L_APP_NAME.DIRECTORY_SEPARATOR);


define('EXTEND_PATH', APP_PATH."extend".DIRECTORY_SEPARATOR);

define('CONF_PATH', APP_PATH."conf".DIRECTORY_SEPARATOR);


// 记录详细请求 
define('CURL_ACCESS_RECORD_HOST','http://private-account.enz.com:30000');
require SHARE_PATH."CurlProxy.php";

// 加载框架引导文件
require L_WORKSPACE_PATH . 'thinkphp'.DIRECTORY_SEPARATOR.'start.php';
